<template>
    <div class="sister">御剑乘风来,除魔天地间!====sister
        <hr>
        <h2>==={{s1}}===</h2>
        <hr>
        <strong>***{{s2}}****</strong>
    </div>
</template>
           
<script>
import bus from "@/assets/bus.js";
export default {
  data() {
    return {
        s1:'',
        s2:''
    };
  },
  mounted() {
    //   var  that=this
    // bus.$on("busevent", function(message) {
    //   console.log(message,1111222333);
    //   that.s1=message
    // });

    
    bus.$on("busevent", (message)=> {
      console.log(message,1111222333);
      this.s1=message
    });

    bus.$on('busevent',(message)=>{
        this.s2=message
    })
  }
};
</script>
<style scoped>
</style>